package com.woniu.deal.order.service;

import com.woniu.common.dto.DealInsertOrderDTO;
import com.woniu.common.dto.DealOrderDTO;
import com.woniu.common.entity.DealOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.entity.DealRechargeorder;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author Administrator
* @description 针对表【deal_order】的数据库操作Service
* @createDate 2024-08-02 11:03:09
*/
public interface DealOrderService extends IService<DealOrder> {

    List<DealOrder> getListByConditionPage(int pageIndex, int pageSize, DealOrderDTO dealOrderDTO);

    String addOrder(HttpServletRequest request, DealInsertOrderDTO dealInsertOrderDTO);

    DealOrder getOneDealOrderById(int id);

    DealRechargeorder selectByOrderNum(String dealOrderNum);


    List<DealOrder> getOneAllOrders(int userId);

    void modify(DealOrder dealOrder);
}
